package com.hehe.conversion.hehemiddleware.model.resp.esbxml;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@Data
@XmlAccessorType(XmlAccessType.FIELD) // 告诉JAXB只使用字段进行XML绑定
public class ServiceResponse {
    @XmlElement(name = "status")
    private String status;
    @XmlElement(name = "code")
    private String code;
    @XmlElement(name = "desc")
    private String desc;
    @XmlElement(name = "requester_code")
    private String requesterCode;
    @XmlElement(name = "requester_desc")
    private String requesterDesc;
    @XmlElement(name = "detail_code")
    private String detailCode;
    @XmlElement(name = "requester_detail_code")
    private String requesterDetailCode;
}
